﻿package com.eitb.programas.ticker.properties{
	import flash.display.*;
	public class TransitionPropertiesFactory {
 		public static const CORTINILLA:String = "cortinilla";
 		public static const DESVANECER:String = "desvanecer";
 		public static const VOLAR:String = "volar";
 		public static const DISOLVER:String = "disolver";
 		public static function getTransition(transition:String):Object {
			switch (transition) {
				case TransitionPropertiesFactory.CORTINILLA :
					return TransitionProperties.CORTINILLA;
				case TransitionPropertiesFactory.DESVANECER :
					return TransitionProperties.DESVANECER;
				case TransitionPropertiesFactory.VOLAR :
					return TransitionProperties.VOLAR;
				case TransitionPropertiesFactory.DISOLVER :
					return TransitionProperties.DISOLVER;
				default :
					return TransitionPropertiesFactory.DESVANECER;
			}
		}
	}
}
